#include "Char_queue__LinkList.h"
// #include "Char_queue__Vector.h"
//切换实现方式↑↑

#include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
    Char_queue* tmp = new Char_queue();
    tmp->print();       //初始化为空队列
    tmp->enqueue('q');
    tmp->print();       //队列：q
    tmp->enqueue('w');  
    tmp->print();       //队列：qw
    cout<<tmp->dequeue()<<endl;//出队：w
    tmp->print();       //队列：w
    tmp->enqueue('e');  
    tmp->print();       //队列：we
    cout << tmp->dequeue() << endl;//出队：w
    cout << tmp->dequeue() << endl;//出队：e
    tmp->print();       //队列空
    //tmp->dequeue();   //会报错
    return 0;
}


